package by.msokoloff.javaweb2015.webapp.page.registration;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.CompoundPropertyModel;

import by.msokoloff.javaweb2015.datamodel.Registration;

public class RegistrationEditPanel extends Panel {
	
	public RegistrationEditPanel(String id, Registration registration) {
		super(id);
		add(new RegistrationForm("registrationEditForm", new CompoundPropertyModel<Registration>(registration)));
	}

}
